<script setup>
import HomeCategory from './components/HomeCategory.vue';
import HomeBanner from './components/HomeBanner.vue';
import HomeHot from './components/HomeHot.vue';
import HomeNew from './components/HomeNew.vue';
import HomeProduct from './components/HomeProduct.vue';
import { useCategoryStore } from '@/stores/category'
import { onMounted, } from 'vue'
// import HomePanel from './components/HomePanel.vue';
defineOptions({
    name:"indexItem"
})

const categoryStore = useCategoryStore()
onMounted(()=>{
    categoryStore.geHeader()
})
</script>
<template>
    <div style="width: 1200px; margin: 0 auto;" class="home">
      <HomeBanner></HomeBanner>
      <HomeCategory></HomeCategory>


        <HomeNew></HomeNew>
        <br>
        <HomeHot></HomeHot>
        <br>
        <HomeProduct></HomeProduct>
    </div>
</template>
<style scoped>
  .home{
    position: relative;
  }
</style>